﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GlobalNoMenu.Master" AutoEventWireup="true" CodeBehind="CDC_MuestrasAddAdd.aspx.cs" Inherits="WebAsbesto.CDC.CDC_MuestrasAddAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table style="width: 100%">
        <tr>
            <td colspan="2">
                <asp:Label ID="lbl_Titulo" runat="server" style="font-weight: 700; font-size: medium" Text="Muestras "></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lbl_Muestras" runat="server" Text="Muestra:"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddl_Muestras_Aire" runat="server" DataSourceID="OdMuestras_Aire" DataTextField="Id_Muestra" DataValueField="Id_Muestra">
                </asp:DropDownList>
                <asp:SqlDataSource ID="OdMuestras_Aire" runat="server" ConnectionString="<%$ ConnectionStrings:AsbestoConnectionString %>" SelectCommand="SELECT Id_Muestra FROM Muestras_Aire WHERE (Id_Obra = @Id_Obra)">
                    <SelectParameters>
                        <asp:QueryStringParameter DefaultValue="-1" Name="Id_Obra" QueryStringField="Obra" />
                    </SelectParameters>
                </asp:SqlDataSource>
                <br />
                <asp:DropDownList ID="ddl_Muestras_Bulk" runat="server" DataSourceID="OdMuestrasBulk" DataTextField="Id_Muestra" DataValueField="Id_Muestra">
                </asp:DropDownList>
                <asp:SqlDataSource ID="OdMuestrasBulk" runat="server" ConnectionString="<%$ ConnectionStrings:AsbestoConnectionString %>" SelectCommand="SELECT Id_Muestra FROM Muestras_Bulk WHERE (Id_Obra = @Id_Obra)">
                    <SelectParameters>
                        <asp:QueryStringParameter DefaultValue="-1" Name="Id_Obra" QueryStringField="Obra" />
                    </SelectParameters>
                </asp:SqlDataSource>
                <br />
                <asp:DropDownList ID="ddl_Muestras_Superficie" runat="server" DataSourceID="OdMuestrasSuperficie" DataTextField="Id_Muestra" DataValueField="Id_Muestra">
                </asp:DropDownList>
                <asp:SqlDataSource ID="OdMuestrasSuperficie" runat="server" ConnectionString="<%$ ConnectionStrings:AsbestoConnectionString %>" SelectCommand="SELECT Id_Muestra FROM Muestras_Superficie WHERE (Id_Obra = @Id_Obra)">
                    <SelectParameters>
                        <asp:QueryStringParameter DefaultValue="-1" Name="Id_Obra" QueryStringField="Obra" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Aceptar_Volver" runat="server" OnClick="Aceptar_Volver_Click" Text="Aceptar y Volver" />
            </td>
            <td>
                <asp:Button ID="btn_Aceptar_Cargar_Otra" runat="server" OnClick="btn_Aceptar_Cargar_Otra_Click" Text="Aceptar y Cargar Otra" />
            </td>
        </tr>
    </table>
</asp:Content>
